package com.naiterui.ehp.bs.doctor.dao;

import com.naiterui.ehp.bs.doctor.domain.DrBeforePassword;

import java.util.List;

/**
 * @author guoyongxiang
 * @date 2019-06-22 14:52
 * @since 1.0.0
 */
public interface IBeforePasswordDao  {

    void save(DrBeforePassword drBeforePassword);

    void removeById(Long id);

    /**
     * 获取最近密码列表
     *
     * @param userId
     * @param limit
     *
     * @return
     */
    List<DrBeforePassword> findLastBeforePasswordLimit(Long userId, int limit);
}
